﻿using Benefactor.Services;

namespace Benefactor;

public static class Statics
{
    public const int DefaultCardNoLength = 8;
    public const string DefaultConsumeCodePrefix = "VC";
    public const string DefaultCardNoPrefix = "8";
    public const string BadNumber = "4",
        BadNumberReplacement = "5";

    public const string PaidBenefitsCardOrderStatus = "paid",
        RefererFeePaidBenefitsCardOrderStatus = "referer_fee_paid",
        ClosedBenefitsCardOrderStatus = "closed";

    public const double MinimumRefererFee = 5;

#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
    public static AppConfig AppConfig { get; set; }
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.

    public const int CrmebOrderPaidStatus = 1;
    public const int CrmebOrderCompletedStatus = 6;
}